import request from '@/utils/request'
// 搜索建议请求方法
export const getSearchSuggestions = (q) => {
    return request({
        url: "/v1_0/suggestion",
        method: "GET",
        params: {
            q
        }
    })
}

export const getSearchResult = (params) => {
    return request({
        url: "/v1_0/search",
        method: "GET",
        params
    })
}